﻿using SqlSugar;

namespace ManageSystem.Model
{
    [SugarTable("outlay_stream")]
    public partial class OutlayStream
    {
        //通过特性设置主键和自增列 
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int streamID { get; set; }
        public string projectGuid { get; set; }

        public string createdDate { get; set; }

        public string categories { get; set; }
        public string projectName { get; set; }
        public string outlayProjectCode { get; set; }
        public string clients { get; set; }
        public string landingAgencies { get; set; }
        public string partners { get; set; }
        public decimal payG { get; set; }

        public decimal payH { get; set; }
        public decimal payI { get; set; }
        public decimal payJ { get; set; }
        public decimal payK { get; set; }
        public decimal payL { get; set; }
        public decimal payM { get; set; }
        public decimal payN { get; set; }
        public decimal payO { get; set; }
        public decimal payP { get; set; }
        public decimal payQ { get; set; }
        public decimal payR { get; set; }
        public decimal payS { get; set; }
        public decimal payT { get; set; }
        public decimal totalPay { get; set; }
        // 备注
        public string remarks { get; set; }

        // 这一列不插入数据库，只用来记录流水更新之前的支出金额以便当流水变化时正确更新
        [SugarColumn(IsIgnore = true)]
        public decimal oldTotalPay { get; set; }
    }
}
